package ${packageName}.${moduleName}.ctl${subModuleName};

import java.sql.Timestamp;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.lang.StringUtils;
org.springframework.web.bind.annotation.RestController
import org.springframework.web.bind.annotation.RequestMapping;
import ${packageName}.${moduleName}.entity${subModuleName}.${ClassName};
import ${packageName}.${moduleName}.service${subModuleName}.${ClassName}Service;

/**
 * ${functionName}Controller
 * @author ${classAuthor}
 * @version ${classVersion}
 */
@RestController
@RequestMapping(value = "/${urlPrefix}")
public class ${ClassName}Controller{

	@Resource(name = "${className}Service")
	private ${ClassName}Service ${className}Service;


    @RequestMapping("/get${ClassName}List")
    public Map<String, Object> get${ClassName}List(String sign) {
        Map<String, Object> result = new HashMap<>();
        try {
                result.put("data", "");
            } catch (Exception e) {
                e.printStackTrace();
                result.put("reqCode", 300);
                result.put("status", "获取失败");
                return result;
            }
            result.put("reqCode", 100);
            result.put("status", "成功");
            return result;
    }


}
